* lisp/eshell/esh-opt.el: Fix last change to set lexical-vars properly.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 Sep 2013 18:23:30 +0000 (14:23 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 Sep 2013 18:23:30 +0000 (14:23 -0400)
commit58ba4f702eefd157d63f5fc1cbb00c77cd6318fc
tree89a530f96e12f3479179acaa4cab69e346b7eba5
parent5dc3955b45c3bf1b9dcea0dd41c7051a8c3b179e
* lisp/eshell/esh-opt.el: Fix last change to set lexical-vars properly.
(eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
return args and options.
(eshell-eval-using-options): Use the new return value of
eshell--do-opts to set the options's vars in their scope.
(eshell--set-option): Rename from eshell-set-option.
Add arg `opt-vals'.
(eshell--process-option): Rename from eshell-process-option.
Add arg `opt-vals'.
(eshell--process-args): Use an `opt-vals' alist to store the options's
values during their processing and return them additionally to the
remaining args.
lisp/ChangeLog
lisp/eshell/esh-opt.el
lisp/eshell/esh-util.el